<?php       
class ControllerCommonLogout extends AdminController {   
	public function index() { 
    	user_log($this->user->getUserName(), 'Logout');
    	$this->user->logout();
		unset($this->session->data['token']);
		$this->redirect($this->url->link('common/login', '', 'SSL'));
  	}
}  
?>